package viz.controller.core
{
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;
	
	import viz.model.flare.proxies.StateDataProxy;

	public class AddStateCmd extends SimpleCommand
	{
		override public function execute(note:INotification):void{
			var stateData:StateDataProxy = StateDataProxy( facade.retrieveProxy(StateDataProxy.NAME));
			stateData.addState( note.getBody() );
		}
		
	}
}